<template>
    <tab-bar>
      <tab-bar-item path='/home' activeColor='red'>
        <i slot="item.icon" class="iconfont icon-index-copy"></i>
        <i slot="item.icon.active" class="iconfont icon-index"></i>
        <div slot="item.text">首页</div>
      </tab-bar-item>
      <tab-bar-item path='/category' activeColor='red'>
        <i slot="item.icon" class="iconfont icon-leimupinleifenleileibie"></i>
        <i slot="item.icon.active" class="iconfont icon-leimupinleifenleileibie2"></i>
        <div slot="item.text">分类</div>
      </tab-bar-item>
      <tab-bar-item path='/cart' activeColor='red'> 
        <i slot="item.icon" class="iconfont icon-gouwuchekong"></i>
        <i slot="item.icon.active" class="iconfont icon-gouwucheman"></i>
        <div slot="item.text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path='/profile' activeColor='red'>
        <i slot="item.icon" class="iconfont icon-wode-copy"></i>
        <i slot="item.icon.active" class="iconfont icon-wodedangxuan"></i>
        <div slot="item.text">我的</div>
      </tab-bar-item>
    </tab-bar>
</template>
<script>
import TabBar from "@/components/common/tabbar/TabBar";
import TabBarItem from "@/components/common/tabbar/TabBarItem";
export default {
      components: {
    TabBar,
    TabBarItem,
  },
}
</script>
<style>

</style>